/* 初始化样式 */

* {
    margin: 0;
    padding: 0;
}

body,
button,
input {
    font: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

li {
    list-style: none;
}

a {
    color: #666666;
    text-decoration: none;
}

input,
button {
    border: none;
    outline: none;
}

body {
    background-color: #f8fafc;
}

.w {
    width: 1190px;
    margin: 0 auto;
}

.clearfix {
    *zoom: 1;
}

.clearfix::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}


/* 顶部栏 */

.top-nav {
    background-color: #f5f5f5;
    padding: 10px 0;
    font-size: 12px;
}

.top-nav .login {
    float: left;
}

.top-nav .login .h {
    color: #e63e3e;
    margin-right: 6px;
}

.top-nav .nav-list {
    float: right;
}

.top-nav .nav-list li {
    display: inline-block;
    margin-left: 10px;
}


/* 搜索框 */

.searchWrap .w {
    position: relative;
}

.logo {
    top: 33px;
    left: 15px;
    position: absolute;
    width: 160px;
    height: 56px;
    line-height: 56px;
    font-size: 40px;
    color: #e63131;
    font-weight: bold;
    text-align: center;
}

.search-box {
    position: relative;
    padding: 40px 0 40px 300px;
}

.search-box .searchInput {
    float: left;
    width: 530px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #dddddd;
    padding: 0 10px;
    font-size: 15px;
}

.search-box .search-btn {
    float: left;
    width: 50px;
    height: 42px;
    background-color: #e63e3e;
    color: #fff;
}

#search-suggest {
    display: none;
    position: absolute;
    top: 82px;
    width: 550px;
    background-color: #fff;
    border: 1px solid #dddddd;
    z-index: 1000;
}

#search-suggest li {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    padding: 0 10px;
}


/* 商品分类 */

.menu {
    padding-bottom: 30px;
}

.aside-nav {
    float: left;
    width: 200px;
    height: 500px;
    box-shadow: 2px 6px 9px rgba(0, 0, 0, 0.2);
}

.list-item .item-href {
    display: block;
    margin: 0 20px;
    height: 50px;
    line-height: 50px;
    color: #333333;
    font-size: 14px;
    border-bottom: 1px dotted #dddddd;
    box-sizing: border-box;
}

.list-item:last-child .item-href {
    border: none;
}

.list-item .iconfont {
    float: left;
    margin-right: 5px;
    color: #e63e3e;
}

.list-item:hover .iconfont {
    color: #fff;
}

.nav-list {
    position: relative;
}

.list-item:hover,
.list-item:hover .item-href {
    background-color: #e63625;
    color: #fff;
}


/* 二级分类 */

.nav-list .item-menu {
    display: none;
    position: absolute;
    left: 200px;
    top: 0;
    width: 900px;
    min-height: 500px;
    box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    z-index: 999;
}

.list-item:hover .item-menu {
    display: block;
}

.subcate {
    float: left;
    width: 610px;
    padding: 30px 20px 20px 20px;
}

.subcate .subcate_item {
    position: relative;
    padding-left: 80px;
}

.subcate .subcate_item .subcate_title {
    position: absolute;
    left: 0;
    top: 6px;
    width: 70px;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: 700;
}

.subcate_title .subcate_title_arrow {
    margin-left: 5px;
}

.subcate .subcate_con {
    padding: 5px 0;
}

.subcate .subcate_con .subcate_con_lk {
    float: left;
    height: 16px;
    line-height: 16px;
    border-left: 1px solid #dddddd;
    padding: 0 10px;
    margin: 3px 0;
}

.subcate .subcate_link:hover,
.subcate .subcate_con .subcate_con_lk:hover {
    color: #e63625;
}


/* 二级-猜你喜欢 */

.guessLike {
    float: left;
    width: 250px;
    padding-top: 30px;
}

.guessLike h3 {
    color: #666666;
    text-align: center;
}

.like-item {
    float: left;
}

.like-item .like_lk {
    display: block;
    width: 100px;
    padding: 10px 0 0 15px;
}

.like-item .like_lk img {
    width: 100px;
    height: 100px;
}

.like_lk:hover p {
    color: #e63625;
}

.like_lk:hover img {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.like-item .like_lk p {
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #666666;
}


/* 轮播图 */

.banner-wrap {
    float: left;
    margin-left: 20px;
}

.banner-wrap .banner {
    position: relative;
    width: 970px;
    height: 500px;
}

.banner-wrap .banner ul {
    width: 100%;
    display: flex;
}

.banner-wrap .banner ul li {
    transition: opacity .4s;
}

.banner-wrap .banner ul li a {
    display: block;
    width: 970px;
    height: 500px;
}

.banner-wrap .banner ul li a img {
    width: 100%;
    height: 100%;
}

.swiper-arrow {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-50%);
    /* margin-top:18px;  */
    cursor: pointer;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}


/* 切换圆点 */

.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 14px;
    background-color: rgba(86, 43, 43, 0.3);
    border-radius: 10px;
}

.indicators .indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 3px;
    background-color: rgb(54, 49, 49);
    border-radius: 50%;
    cursor: pointer;
}

.indicators .on {
    background-color: #ff5000;
}


/* 秒杀专区 */

.miaosha {
    margin-top: 30px;
    padding-bottom: 40px;
}

.miaosha .miaosha-time {
    position: relative;
    float: left;
    width: 200px;
    height: 275px;
    background-color: #e63e3e;
    color: #fff;
}

.miaosha-time .ms_title {
    text-align: center;
    font-size: 34px;
    margin-top: 45px;
}

.miaosha-time .icon-daojishi {
    position: absolute;
    padding-top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
}

.miaosha-time .ms_desc {
    position: absolute;
    left: 0;
    bottom: 100px;
    width: 100%;
    font-size: 16px;
    text-align: center;
}

.countdown {
    position: absolute;
    left: 32.5px;
    bottom: 20px;
}

.countdown .cd_item {
    float: left;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #333333;
    font-size: 20px;
    font-weight: bold;
    margin-left: 5px;
}

.miaosha-list {
    float: left;
    width: 990px;
    height: 275px;
}

.miaosha-list .ms-item {
    float: left;
    width: 198;
    height: 275px;
    background-color: #fff;
}

.ms-item .ms-item-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 5px;
}

.ms-item-link .ms-item-img {
    display: block;
    width: 140px;
    height: 140px;
    padding: 20px;
    margin: auto;
}

.ms-item-link .ms-item-name {
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.ms-item-buy {
    margin: 10px 0;
    line-height: 20px;
    text-align: center;
}

.ms-item-buy .progress {
    display: inline-block;
    width: 100px;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    margin: 5px 5px 0 0;
}

.ms-item-buy .progress-bar1 {
    display: block;
    width: 40px;
    height: 10px;
    background-color: #e63e3e;
    border-radius: 5px 0 0 5px;
    /* 从左上方开始顺时针到左下方*/
}

.ms-item-buy .progress-bar2 {
    display: block;
    width: 60px;
    height: 10px;
    background-color: #e63e3e;
    border-radius: 5px 0 0 5px;
    /* 从左上方开始顺时针到左下方*/
}

.ms-item-buy .progress-bar3 {
    display: block;
    width: 80px;
    height: 10px;
    background-color: #e63e3e;
    border-radius: 5px 0 0 5px;
    /* 从左上方开始顺时针到左下方*/
}

.ms-item-buy .progress-bar4 {
    display: block;
    width: 20px;
    height: 10px;
    background-color: #e63e3e;
    border-radius: 5px 0 0 5px;
    /* 从左上方开始顺时针到左下方*/
}

.ms-item-buy .progress-bar5 {
    display: block;
    width: 70px;
    height: 10px;
    background-color: #e63e3e;
    border-radius: 5px 0 0 5px;
    /* 从左上方开始顺时针到左下方*/
}

.ms-item-buy .buy-num {
    display: inline-block;
    color: #e63e3e;
    font-size: 12px;
}

.ms-item-price {
    display: block;
    width: 160px;
    margin: auto;
    border: 1px solid #e63e3e;
}

.ms-item-price .cm-price {
    float: left;
    width: 80px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.ms-item-price .new-price {
    font-size: 14px;
    background-color: #e63e3e;
    color: #fff;
    font-weight: bold;
}

.ms-item-price .origin-price {
    font-size: 12px;
    color: #999999;
    text-decoration: line-through;
}

.ms-item-link:hover .ms-item-img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.ms-item-link:hover .ms-item-name {
    color: #e63e3e;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


/* 专题专区 */

.layer {
    padding-bottom: 50px;
}

.layer-inner {
    background-color: #fff;
}

.layer-inner h3 {
    padding: 20px;
    font-size: 20px;
    height: 22px;
    line-height: 22px;
    border-bottom: 1px solid #f5f5f5;
}

.layer-inner h3::before {
    content: "";
    float: left;
    width: 4px;
    height: 16px;
    margin: 3px 6px 0 0;
}

.hotSale {
    color: #e63625;
}

.likeSale {
    color: #ff9f00;
}

.hotSale::before {
    background-color: #e63625;
}

.likeSale::before {
    background-color: #ff9f00;
}

.saleList .item {
    position: relative;
    float: left;
    width: 196px;
    padding: 20px;
    border: 1px solid #f8fafc;
}

.saleList .bs-item:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.saleList .like-item:hover {
    border-color: #e63e3e;
    transform: scale(1.05);
    transition: border-color 0.3s, transform 0.3s ease;
}

.saleList .item a {
    display: block;
}

.saleList .item a img {
    width: 196px;
    height: 196px;
}

.saleList .item .title {
    font-size: 14px;
    color: #666666;
    height: 40px;
    line-height: 20px;
    text-align: center;
    overflow: hidden;
    white-space: pre-wrap;
    margin: 8px 0;
}

.saleList .line-2 {
    margin-bottom: 10px;
}

.saleList .comment,
.saleList .collect {
    float: left;
    color: #999999;
    margin-right: 10px;
}

.saleList .comment em,
.saleList .collect em {
    font-style: normal;
    margin-left: 5px;
}

.saleList .strong {
    color: #e63625;
    font-size: 22px;
    margin-right: 2px;
}

.saleList .strong::before {
    content: "￥";
    font-size: 14px;
    margin-left: 3px;
}

.saleList .price-through {
    text-decoration: line-through;
    color: #999999;
}

.saleList .sell {
    font-size: 8px;
    float: right;
    color: #999999;
    margin-top: 5px;
}

.saleList .item .item-more {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #e63e3e;
    color: #fff;
}

.saleList .like-item:hover .item-more {
    display: block;
}


/* 加载更多 */

.loadMore {
    padding: 30px 0;
}

.loadMore span {
    display: block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    background-color: #e63e3e;
    margin: auto;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}


/* 底部跳转链接 */

footer {
    background-color: #fff;
}

.footer_container {
    height: 144px;
    padding-top: 15px;
}

.footer_social {
    height: 48px;
    text-align: center;
}

.footer_social a {
    display: inline-block;
    height: 48px;
}

.footer_social a img {
    height: 28px;
    padding: 10px 30px;
}

.footer_link {
    text-align: center;
    margin: 10px 0;
}

.footer_link li {
    display: inline-block;
    margin: 0 5px;
    font-size: 12px;
    cursor: pointer;
}

.footer_link li a:hover {
    text-decoration: underline;
}

.footer_copyright {
    font-size: 11px;
    color: #5e5e5e;
    width: 450px;
    margin: 5px auto;
    border-top: 1px solid #000000;
    text-align: center;
    padding-top: 10px;
}


/* 悬浮菜单 */

.tool {
    position: fixed;
    top: 80px;
    right: 10px;
    width: 50px;
    text-align: center;
    z-index: 10;
}

.tool a {
    position: relative;
    display: block;
    font-size: 13px;
    height: 44px;
    line-height: 17px;
    background-color: #fff;
    padding: 8px 8px 0;
    cursor: pointer;
}

.tool a::after {
    content: "";
    position: absolute;
    left: 8px;
    bottom: -1px;
    width: 34px;
    border-bottom: 1px solid #efefef;
    z-index: 5;
}

.tool a.on,
.tool a:hover {
    background-color: #e63e3e;
    color: #fff;
    z-index: 6;
}

a.tool-item1 {
    color: #e63e3e;
}

a.tool-item2 {
    color: #28abff;
}

a.tool-item3 {
    color: #ff9f00;
}

a.tool-item5 {
    line-height: 40px;
}

.top-arrow {
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #999;
    border-left: 1.5px solid #999;
    transform: rotate(45deg);
    margin: 5px auto;
}

.tool a:hover .top-arrow {
    border-color: #fff;
}

#goTop {
    display: none;
}